ACSPerfReportGen (version $Id: ACSPerfReportGen.py,v 1.3 2004/10/15 22:16:35 dfugate Exp $)
index
/diska/alma_tmp/ACS/Benchmark/analyzer/src/ACSPerfReportGen.py

TODO:
- all

 
Modules
       
anydbm
time

 
Functions
       
genHTMLForMsg(inList, outFile=<open file '<stdout>', mode 'w' at 0xb7f57068>)
generateHTML(inDict, outFile=<open file '<stdout>', mode 'w' at 0xb7f57068>)
Helper function generates an HTML report based on a dictionary returned by
getDBasDict function.
getDBasDict(dbName)
Helper function returns an ACS performance database as a Python dictionary.
In this dict, the keys are the test type and the values are lists of tests.
getNiceColHeader(origHeader)
Helper function returns a more descriptive column header or just the original
header if no alternative is known.
performanceSort(a, b)
Helper function used by sortDict function to sort two dictionaries describing
a performance test. Sorts based on hostname first and then date.
printMachineInfo(outFile)
sortDict(inDict)
Sorts a dictionary (of the same type returned by the getDBasDict function).

 
Data
        __version__ = '$Id: ACSPerfReportGen.py,v 1.3 2004/10/15 22:16:35 dfugate Exp $'
argv = ['/alma/ACS-8.0/Python/bin/pydoc', '-w', 'ACSPerfReportGen']
htmlBegin = '\n<html>\n<head>\n <meta content="text/html; chars...>\n<hr style="width: 100%; height: 2px;"><br><br>\n'
htmlEnd = '\n<br>\n<br>\n<big>This report was generated on: %s </big>\n</body>\n</html>\n'
msgBegin = '\n<div style="text-align: center;"><big><big styl...der="1" cellpadding="2"\ncellspacing="2">\n<tbody>\n'
msgEnd = '\n</tbody>\n</table>\n<br>\n<!--\n<br>\n<big style="fo...;<br>\n-->\n<hr style="width: 100%; height: 2px;">\n'
specialKeys = ['cpu', 'mem']
stdout = <open file '<stdout>', mode 'w' at 0xb7f57068>
testMachineInfo = {}